import { createApp } from 'vue'
import './style.css'
//引入路由模块
import router from "./router/index";

//引入加密模块
// import CryptoJS from 'crypto-js'

//引入elemnt-plus模块
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
 

import App from './App.vue'

const app = createApp(App)

// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//   app.component(key, component);
// }
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
  })

app.mount('#app')
